//公共样式
@import './mixin.scss';
.container{
	position: relative;
	width: 1226px;
	margin-right: auto;
	margin-left: auto;
}
a{
	img{
		width:100%;
		height:100%;
	}
}
input{
	outline:none;
	box-sizing:broder-box;
	font-size:14px;
}
.fl{
	float:left;
}
.fr{
	float:right;
}
.clearfix:after,.clearfix:after{
	content:' ';
	display:table;

}
.clearfix::after{
	clear:both;
}
.clearfix{
	*zoom:1;
}
.header-logo{
	width: 55px;
	height: 55px;
	display: inline-block;
	background-color: #FF6600;
	a{
		display: inline-block;
		width: 110px;
		height: 55px;
		&:before{//生成一个伪类
			content: ' ';
			@include bgImg(55px,55px,'/imgs/mi-logo.png',55px);
			transition: margin .2s;
		}
		&:after{
			content: ' ';//用来占位
			@include bgImg(55px,55px,'/imgs/mi-home.png',55px);
		
		}
		&:hover:before{//控制before的样式
		margin-left: -55px;
		transition: margin .2s;//过渡元素,2s过度一次

		}
	}
}